.class Lcom/waiqin365/lightapp/kehu/by;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/kehu/view/an;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/by;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/lightapp/kehu/b/ab;)V
    .locals 4

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/by;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/by;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoEditActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    if-eqz p1, :cond_0

    instance-of v2, v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    if-eqz v2, :cond_0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->p:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string/jumbo v2, "post"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->m()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->p:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_0
    :goto_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->q:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_2

    const-string/jumbo v2, "website"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->m()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->q:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto :goto_1

    :cond_2
    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->r:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string/jumbo v2, "tel"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->m()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->r:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto :goto_1

    :cond_3
    return-void
.end method
